<!DOCTYPE html> <html lang=zh-cn style=--olcb-folder-code-block-max-height:80vh;--cnb-code-bg:rgb(245,245,245);--cnb-code-font-size:12px;--cnb-code-color:rgb(68,68,68)><!--
 Page saved with SingleFile 
 url: https://www.cnblogs.com/allay/p/17375111.html 
 saved date: Sun Jul 02 2023 16:30:42 GMT+0800 (中国标准时间)
--><meta charset=utf-8>
<meta name=viewport content="width=device-width, initial-scale=1.0">
<meta name=referrer content=origin-when-cross-origin>
<meta name=description content="问题： 解决方法： 这个报错为权限问题 1.把jenkins用户，加到docker用户组 #如果没有docker用户组，先创建用户组： groupadd docker #添加jenkins用户到用户组： sudo usermod -a -G docker jenkins -a&amp;lt;追加&amp;gt; 必">
<meta property=og:description content="问题： 解决方法： 这个报错为权限问题 1.把jenkins用户，加到docker用户组 #如果没有docker用户组，先创建用户组： groupadd docker #添加jenkins用户到用户组： sudo usermod -a -G docker jenkins -a&amp;lt;追加&amp;gt; 必">
<meta http-equiv=Cache-Control content=no-transform>
<meta http-equiv=Cache-Control content=no-siteapp>
<meta http-equiv=X-UA-Compatible content="IE=edge">
<title>Jenkins 执行Docker build错误Got permission denied while trying to connect to the Docker daemon socket... - 06 - 博客园</title>
<style>:root{--sf-img-7: url("");--sf-img-15: url("")}.navbar a:hover{color:#666;text-decoration:underline}.navbar a:link,.navbar a:active,.navbar a:visited{color:#666;text-decoration:none}@media screen and (min-width:769px){.dropdown:hover .dropdown-menu.quick-search-menu{max-height:0}.dropdown:hover .dropdown-menu,.dropdown:focus-within .dropdown-menu.quick-search-menu{max-height:1000px;z-index:1000}.dropdown:focus-within .focus-hidden{display:none}}.dropdown>.dropdown-menu{-webkit-transition:all .5s ease,max-height .5s ease;-o-transition:all .5s ease,max-height .5s ease;display:block;-webkit-box-shadow:2px 2px 13px 0 rgba(212,212,212,.5)}.dropdown>.dropdown-menu>*:not(:first-child){margin-top:10px}.dropdown>.dropdown-menu>*:first-child{margin-top:10px}.dropdown>.dropdown-menu>*:last-child{margin-bottom:10px}.navbar{display:flex;flex-direction:column;align-items:center;background-color:#fff;padding-top:5px;padding-bottom:5px}.navbar>nav{display:flex;font-size:15px;color:#666;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;width:100%}.navbar>nav .navbar-branding{width:140px;flex-shrink:0;margin-right:5px}.navbar>nav .navbar-branding img{display:block;max-height:28px;height:28px;margin-left:10px}.navbar>nav .navbar-left>*:not(:first-child){margin-left:31px}.navbar>nav .navbar-right>*:not(:first-child),.navbar>nav #navbar_login_status>*:not(:first-child){margin-left:24px}.navbar>nav #navbar_login_status{min-width:120px}.navbar>nav .navbar-list{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;list-style:none;white-space:nowrap;transition:width .5s ease}.navbar>nav .navbar-search{padding-left:20px;padding-right:20px;display:flex;flex-direction:row;align-items:center;border-radius:6px;background-color:#f4f4f4;height:32px}.navbar>nav .navbar-search:focus-within{border-bottom-left-radius:0;border-bottom-right-radius:0}.navbar>nav .navbar-search img{width:19px;height:19px}.navbar>nav .navbar-search>input{border:none;outline:none;background:none;width:170px;font-size:inherit}.navbar>nav .navbar-search>button{background:none;border:none;cursor:pointer}.navbar>nav .navbar-search>input::-webkit-input-placeholder{color:#afafaf;opacity:1}.navbar>nav .navbar-search>input::placeholder{color:#afafaf;opacity:1}.navbar>nav .navbar-icon-wrapper{position:relative}.navbar-right .dropdown-menu{right:0}.dropdown{display:-ms-inline-flexbox;position:relative}@media screen and (min-width:769px){.dropdown:hover .dropdown-menu,.dropdown:focus-within .dropdown-menu,.dropdown:active .dropdown-menu{max-height:1000px;z-index:1000}}.dropdown>.dropdown-menu.quick-search-menu{left:0;padding-left:0;padding-right:0;border-top-left-radius:0;border-top-right-radius:0}.dropdown>.dropdown-menu.quick-search-menu>*{display:flex;align-items:center;justify-content:space-between}.dropdown>.dropdown-menu.quick-search-menu .search-area{font-size:11px;padding:2px 4px;border-radius:5px;border-style:solid;border-width:1px;border-color:#999}.dropdown>.dropdown-menu.quick-search-menu .keyword-wrapper{display:flex;align-items:center;min-width:0}.dropdown>.dropdown-menu.quick-search-menu .keyword-wrapper img{width:1em;height:1em}.dropdown>.dropdown-menu.quick-search-menu .keyword{min-width:1px;flex-grow:1;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 10px}.dropdown>.dropdown-menu.quick-search-menu>*:first-child{margin-top:0}.dropdown>.dropdown-menu.quick-search-menu>*:not(:first-child){margin-top:0}.dropdown>.dropdown-menu.quick-search-menu>*:last-child{margin-bottom:0;padding-bottom:10px}.dropdown>.dropdown-menu.quick-search-menu>*{margin-top:0;margin-bottom:0;padding:5px 10px}.quick-search-menu>*:hover{background-color:rgba(0,0,0,.01);cursor:pointer}.quick-search-menu>.active{background-color:rgba(0,0,0,.05)}.dropdown>.dropdown-menu{-webkit-transition:all .5s ease,max-height .5s ease;-o-transition:all .5s ease,max-height .5s ease;transition:all .5s ease,max-height .5s ease;max-height:0;overflow:hidden;position:absolute;top:100%;border-radius:5px;min-width:5em;-webkit-box-shadow:2px 2px 13px 0 rgba(212,212,212,.5);box-shadow:2px 2px 13px 0 rgba(212,212,212,.5);background-color:#f9f9f9}.dropdown>.dropdown-menu>*:not(:first-child){margin-top:10px}.dropdown>.dropdown-menu>*:first-child{margin-top:10px}.dropdown>.dropdown-menu>*:last-child{margin-bottom:10px}body{tab-size:4}input[type=button]{-webkit-appearance:button}img{border:0;max-width:100%;height:auto}#blog_post_info_block{margin-top:20px}pre{transition-duration:.2s;transition-property:background,font-size,border-color,border-radius,border-width,padding,margin,color}.cnblogs_code{background-color:#f5f5f5;font-family:Courier New!important;font-size:12px!important;border:1px solid #ccc;padding:5px;overflow:auto;margin:5px 0;color:#000}.cnblogs_code div{background-color:#f5f5f5}pre{overflow:auto}.cnblogs_code pre{font-family:Courier New,serif;font-size:12px;word-wrap:break-word}.cnblogs_code span{font-family:Courier New,serif;font-size:inherit;line-height:1.5}.cnblogs_code_toolbar a:hover,.cnblogs_code_toolbar a:link,.cnblogs_code_toolbar a:visited,.cnblogs_code_toolbar a:active,.cnblogs_code_toolbar a:link img,.cnblogs_code_toolbar a:visited img{background-color:#f5f5f5!important;border:none!important}.div_my_zzk{margin-top:5px;margin-bottom:5px}.input_my_zzk{width:100px;vertical-align:middle;height:20px}input.btn_my_zzk{vertical-align:middle;height:22px;font-size:12px;padding-left:5px;padding-right:5px}pre{margin-top:0;margin-bottom:0}#author_profile{float:left;width:280px;margin-top:0;margin-bottom:10px;color:#000;margin-left:0;font-size:12px}#author_profile a:hover{text-decoration:underline}.author_avatar{vertical-align:top;float:left;margin-right:5px;padding-top:5px;padding-left:2px;border:0}.author_profile_info{float:left;line-height:18px}#div_digg{float:right;margin-bottom:10px;margin-right:30px;font-size:12px;width:125px;text-align:center;margin-top:10px}.diggit{float:left;width:46px;height:52px;background:url()no-repeat;text-align:center;cursor:pointer;margin-top:2px;padding-top:5px}.diggnum{font-size:14px;color:#075db3;font-family:Verdana}.buryit{float:right;margin-left:20px;width:46px;height:52px;background:url()no-repeat;text-align:center;cursor:pointer;margin-top:2px;padding-top:5px}.burynum{font-size:14px;color:#075db3;font-family:Verdana}.diggword{margin-top:5px;margin-left:0;font-size:12px;color:#808080}#profile_block{margin-top:5px;line-height:1.5;text-align:left}#post_next_prev{line-height:1.8;font-size:12px}#post_next_prev a.p_n_p_prefix:link{text-decoration:none}#post_next_prev a.p_n_p_prefix:hover{text-decoration:underline}.under-post-card{margin-top:10px;line-height:1.5}#green_channel{padding:10px 0;margin-bottom:10px;margin-top:10px;border:#c0c0c0 1px dashed;font-size:12px;width:350px;text-align:center}#green_channel a{background:url(%3D%3D)repeat-x;display:inline-block;padding:3px 8px;color:#fff;text-decoration:none;font-weight:bold;cursor:pointer;margin-right:10px;-moz-border-radius:5px;-webkit-border-radius:10px;-moz-box-shadow:0 1px 3px rgba(0,0,0,.5);-webkit-box-shadow:0 1px 3px rgba(0,0,0,.5);text-shadow:0-1px 1px rgba(0,0,0,.25);vertical-align:middle}#green_channel a:hover{background-image:url()}#green_channel #green_channel_digg{background-color:#2daebf}#green_channel #green_channel_follow{background-color:#e33100}#green_channel #green_channel_favorite{background-color:#ffb515}#green_channel #green_channel_weibo img{vertical-align:middle;border:none;margin-left:5px;box-shadow:none}#green_channel #green_channel_weibo,#green_channel #green_channel_wechat{background:none;padding:3px 2px;-moz-border-radius:none;-webkit-border-radius:none;-moz-box-shadow:none;-webkit-box-shadow:none;text-shadow:none}#green_channel #green_channel_wechat img{width:24px;height:24px;border:medium none;box-shadow:none;margin-left:5px;vertical-align:middle}#cnblogs_post_body{margin-bottom:20px}#cnblogs_post_body img{max-width:100%!important;height:auto}.ad_text_commentbox{margin-top:5px;margin-bottom:5px}#cnblogs_ch{margin-top:5px;line-height:1.8}#cnblogs_ch:empty{display:none}#opt_under_post{line-height:1.8}.recent_comment_author{text-align:right;margin-right:4px}#HistoryToday{max-width:600px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cnblogs_code_toolbar{margin-top:5px}.cnblogs_code_toolbar span{padding-right:5px}.CalTitle{width:100%}.recent_comment_body{word-wrap:break-word}#cnblogs_post_body{word-break:break-word}#cnblogs_post_body p{margin:10px auto}#cnblogs_post_body p{text-indent:0}#div_digg .diggnum{line-height:1.5em!important}#div_digg .burynum{line-height:1.5em!important}#green_channel a:link,#green_channel a:visited,#green_channel a:active{color:#fff!important;border:none!important}.vertical-middle>*{vertical-align:middle}#blog-news{overflow:hidden}.bannerbar{line-height:0;text-align:left}.bannerbar.forpc{height:32px}.bannerbar.forpc img{height:32px;width:auto}.blogpost-body-html span img{border:none}.category-item-link{word-break:break-word}#cnblogs_c1{width:300px;height:250px}.sidebar-card-title-a,a.sidebar-card-title-a:link,a.sidebar-card-title-a:visited{font-style:inherit!important;font-weight:inherit!important;font-size:inherit!important;color:inherit!important}@keyframes fadeIn{0%{opacity:0}100%{opacity:var(--cnb-code-toolbar-initial-opacity)}}pre:fullscreen,pre:fullscreen code{box-sizing:border-box;border-radius:0;height:100vh;width:100vw}.login_tips{background-image:url();background-repeat:no-repeat;margin-top:10px;padding:0 0 10px 25px;font-weight:400}.login_tips a{text-decoration:underline!important}.clear{clear:both}#comment_nav{text-align:right}#comment_nav a{padding-left:10px}:root{--highlighted-line-bg:#d1e3c9;--highlighted-line-bg-dark:#264b33}:root{--cnblogs-current-collection-bg-color:rgba(245,245,245,.98);--cnblogs-current-collection-highlight-color:rgba(255,255,255,.9);--cnblogs-current-collection-hover-color:rgba(255,255,255,.7);--cnblogs-current-collection-active-color:rgba(255,255,255,.8);--cnblogs-current-collection-color:#000}@keyframes collapse{from{max-height:80vh;max-height:80vh;max-height:var(--olcb-folder-code-block-scroll-height,80vh)}to{max-height:80vh;max-height:80vh;max-height:var(--olcb-folder-code-block-max-height,80vh)}}@keyframes expand{from{max-height:80vh;max-height:80vh;max-height:var(--olcb-folder-code-block-max-height,80vh);overflow-y:hidden}to{max-height:"";max-height:"";max-height:var(--olcb-folder-code-block-scroll-height,"");overflow-y:hidden}}@keyframes modal-open{0%{height:0;opacity:0}95%{height:505px}100%{height:auto;opacity:1}}:root{--cnblogs-toc-bg-color:rgba(245,245,245,.98);--cnblogs-toc-highlight-color:rgba(255,255,255,.9);--cnblogs-toc-color:#000}body{min-height:100vh}@keyframes wb-fade-in{0%{opacity:0}to{opacity:.85}}.dropdown-menu{z-index:1000;padding:0;float:left;margin:2px 0 0;list-style:none;text-shadow:none}/*!
 * ui-dialog.css
 * Date: 2014-07-03
 * https://github.com/aui/artDialog
 * (c) 2009-2014 TangBin, http://www.planeArt.cn
 *
 * This is licensed under the GNU LGPL, version 2.1 or later.
 * For details, see: http://www.gnu.org/licenses/lgpl-2.1.html
 */@-webkit-keyframes ui-dialog-loading{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes ui-dialog-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}a:link,a:active{color:#3468a4}a:visited{color:#3468a4}a:hover{color:#808080}body{margin:0;padding:0;background:#fff url()fixed top left;font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue","Helvetica","Arial",sans-serif;font-size:13px;line-height:1.6}td{word-break:break-all;line-height:1.5;font-size:12px}div.header{height:120px;background:#fff url()repeat fixed top center;border-bottom:0 solid #000;padding-left:30px;padding-top:30px;color:#fff}@media only screen and (min-width:768px){.has-bannerbar div.header{background-position-y:74px}}a.headermaintitle:visited,a.headermaintitle:active,a.headermaintitle:link{color:#fff;font-size:16px;font-weight:bold;text-decoration:none}a.headermaintitle:hover{color:#808080}.navbar{padding-left:20px;padding-right:20px}.navbar li{font-size:15px}.navbar>nav .navbar-list{margin:0;padding:0}#leftcontent{position:absolute;top:202px;left:10px;width:200px;border:0 solid #000;border-top:0 solid #000;border-right:1px solid #ddd;font-family:Arial;font-size:12px}#leftcontentcontainer{padding:10px;background-repeat:no-repeat}li{font-size:12px}#centercontent{padding-top:20px;padding-right:10px;padding-left:240px}#mytopmenu{border:0 solid #5e5e5e;padding:0;padding-left:10px;padding-right:10px;margin-top:5px;margin-right:0;margin-left:0;text-align:right;font-size:12px}a.menu:link,a.menu:visited,a.menu:active{color:#3468a4}a.menu:hover{color:#808080}#mylinks{font-size:12px;position:absolute;padding:0;padding-left:12px;padding-right:12px;padding-top:5px;left:0}.footer{background-image:url();background-repeat:repeat;color:#fff;padding:12px;padding-left:10px;margin-top:0;margin-right:10px;margin-left:0;text-align:center;line-height:40px}a.footerlink:link,a.footerlink:visited,a.footerlink:active{color:#fff}a.footerlink:hover{color:#ddd}.newsItem{margin-top:2px;margin-bottom:20px;text-align:center}.post{background-image:url();background-repeat:no-repeat;background-position:right top;border:1px solid #ddd;padding:20px;color:#4b4b4b;font-size:13px}.postTitle{font-size:14.7px;font-weight:bold;margin-bottom:10px}.postTitle h1{font-size:14.7px;font-weight:bold;margin-bottom:10px}.postTitle2{text-decoration:none}.postDesc{color:#303030;margin-top:10px;text-align:right}.catListTitle{background:var(--sf-img-7) no-repeat fixed top left;font-family:verdana;font-size:14.7px;font-weight:bold;color:#666;margin-bottom:10px;padding-top:12px;padding-left:30px}h3{background:var(--sf-img-7) no-repeat fixed top left;font-family:verdana;font-size:14px;font-weight:bold;color:#666;margin-bottom:10px;padding-top:12px;padding-left:30px}.catList{list-style:none;border-top:0;margin:0;padding-left:10px;margin-bottom:20px}li.catListItem{overflow:hidden}ul{list-style:none;margin:0;padding-left:5px;margin-left:5px;margin-bottom:10px;font-size:11px}.Cal{border-color:transparent;width:95%;font-family:Arial;font-size:12px;margin-top:10px;margin-bottom:10px;height:180px;border:0}.CalTitle{background-color:transparent;font-family:verdana;font-size:12px;margin-left:0;padding:0;height:100%;font-weight:bold;color:#747474}.CalOtherMonthDay{color:#808080}.CalNextPrev{color:#fff}.CalDayHeader{background-color:transparent;font-weight:bold;color:#747474}.CalWeekendDay{background-color:transparent}.CalTodayDay{background-color:#555;color:#fff}h1{margin:0;margin-top:10px;color:#666;text-align:left}html *{-moz-box-sizing:border-box;box-sizing:border-box}#comment_form{margin-left:10px}</style>
<style media="only screen and (max-width: 767px)">body{font-size:14px!important;-webkit-text-size-adjust:none}.forpc{display:none!important}#blog_nav_rss{display:none!important}#blog_nav_rss_image{display:none!important}#blog_nav_newpost{display:none!important}.blogpost-body img{max-width:300px!important;height:auto}#green_channel{width:100%}#sidebar_search_box input[type=text]{width:260px}#cnblogs_c1{text-align:center;margin:10px auto 0 auto}#cnblogs_c1{width:300px}.commentform{margin-left:10px}.navbar{display:none}body{display:flex;flex-flow:column}#mylinks{position:static}#leftcontent{position:static;order:2;width:auto}#centercontent{padding-left:10px}#centercontent #post_detail{padding-right:0}</style>
<link type=application/rss+xml rel=alternate href=https://www.cnblogs.com/allay/rss>
<link type=application/rsd+xml rel=EditURI href=https://www.cnblogs.com/allay/rsd.xml>
<link type=application/wlwmanifest+xml rel=wlwmanifest href=https://www.cnblogs.com/allay/wlwmanifest.xml>
<style>.medium-zoom-image{cursor:zoom-in;transition:transform 300ms cubic-bezier(0.2,0,0.2,1)!important}</style>
<meta http-equiv=origin-trial content="A7CQXglZzTrThjGTBEn1rWTxHOEtkWivwzgea+NjyardrwlieSjVuyG44PkYgIPGs8Q9svD8sF3Yedn0BBBjXAkAAACFeyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjk1MTY3OTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv=origin-trial content="A3vKT9yxRPjmXN3DpIiz58f5JykcWHjUo/W7hvmtjgh9jPpQgem9VbADiNovG8NkO6mRmk70Kex8/KUqAYWVWAEAAACLeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjk1MTY3OTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv=origin-trial content="A4A26Ymj79UVY7C7JGUS4BG1s7MdcDokAQf/RP0paks+RoTYbXHxceT/5L4iKcsleFCngi75YfNRGW2+SpVv1ggAAACLeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXRhZ3NlcnZpY2VzLmNvbTo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjk1MTY3OTk5LCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ=="><meta http-equiv=origin-trial content="As0hBNJ8h++fNYlkq8cTye2qDLyom8NddByiVytXGGD0YVE+2CEuTCpqXMDxdhOMILKoaiaYifwEvCRlJ/9GcQ8AAAB8eyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiV2ViVmlld1hSZXF1ZXN0ZWRXaXRoRGVwcmVjYXRpb24iLCJleHBpcnkiOjE3MTk1MzI3OTksImlzU3ViZG9tYWluIjp0cnVlfQ=="><meta http-equiv=origin-trial content="AgRYsXo24ypxC89CJanC+JgEmraCCBebKl8ZmG7Tj5oJNx0cmH0NtNRZs3NB5ubhpbX/bIt7l2zJOSyO64NGmwMAAACCeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiV2ViVmlld1hSZXF1ZXN0ZWRXaXRoRGVwcmVjYXRpb24iLCJleHBpcnkiOjE3MTk1MzI3OTksImlzU3ViZG9tYWluIjp0cnVlfQ=="><link id=favicon rel="shortcut icon" href="" type=image/svg+xml><style>.sf-hidden{display:none!important}</style><link rel=canonical href=https://www.cnblogs.com/allay/p/17375111.html><meta http-equiv=content-security-policy content="default-src 'none'; font-src 'self' data:; img-src 'self' data:; style-src 'unsafe-inline'; media-src 'self' data:; script-src 'unsafe-inline' data:;"><style>img[src="data:,"],source[src="data:,"]{display:none!important}</style></head>
<body class="skin-arrow has-navbar has-bannerbar">
 <a name=top></a>
 <a href=https://www.cnblogs.com/cmt/p/17516235.html target=_blank rel=nofollow>
 <div class="bannerbar forpc" style="background-size:contain;background-image:url()">
 <img src="">
 
 <span id=c0_impression style=display:none></span>
 </div>
 </a>
 <div id=bannerbar class="bannerbar-mobile bannerbar-text-mobile formobile sf-hidden">
 
 </div>
 <div id=top_nav class="navbar forpc">
 <nav id=nav_main class=navbar-main>
 <ul id=nav_left class="navbar-list navbar-left">
 <li class=navbar-branding>
 <a href=https://www.cnblogs.com/ title=开发者的网上家园 role=banner>
 <img src="" alt=博客园Logo>
 </a>
 </li>
 <li>
 <a href=https://www.cnblogs.com/>首页</a>
 </li>
 <li>
 <a href=https://news.cnblogs.com/>新闻</a>
 </li>
 <li>
 <a href=https://q.cnblogs.com/>博问</a>
 </li>
 <li><a href=https://www.cnblogs.com/cmt/p/17516235.html>直播</a></li>
 <li>
 <a href=https://ing.cnblogs.com/>闪存</a>
 </li>
 <li>
 <a href=https://edu.cnblogs.com/>班级</a>
 </li>
 </ul>
 <ul id=nav_right class="navbar-list navbar-right">
 <li>
 <form id=zzk_search class="navbar-search dropdown" action=https://zzk.cnblogs.com/s role=search>
 <input name=w id=zzk_search_input placeholder=代码改变世界 type=search tabindex=3 autocomplete=off value>
 <button id=zzk_search_button>
 <img id=search_icon class=focus-hidden src= alt=搜索>
 <img class="hidden focus-visible sf-hidden" src=data:, alt=搜索>
 </button>
 <ul id=navbar_search_options class="dropdown-menu quick-search-menu">
 <li tabindex=0 class=active>
 <div class=keyword-wrapper>
 <img src= alt=搜索>
 <div class=keyword></div>
 </div>
 <span class=search-area>所有博客</span>
 </li>
 <li tabindex=1>
 <div class=keyword-wrapper>
 <img src= alt=搜索>
 <div class=keyword></div>
 </div>
 <span class=search-area>当前博客</span>
 </li>
 </ul>
 </form>
 </li>
 <li id=navbar_login_status class=navbar-list>
 <a class="navbar-user-info navbar-blog" href="https://i.cnblogs.com/EditPosts.aspx?opt=1" alt=写随笔 title=写随笔 style=display:none>
 
 </a>
 <a id=navblog-myblog-icon class="navbar-user-info navbar-blog" href=https://passport.cnblogs.com/GetBlogApplyStatus.aspx alt=我的博客 title=我的博客 style=display:none>
 
 </a>
 <a class="navbar-user-info navbar-message navbar-icon-wrapper" href=https://msg.cnblogs.com/ alt=短消息 title=短消息 style=display:none>
 
 
 </a>
 <a id=navbar_lite_mode_indicator data-current-page=blog style=display:none alt=简洁模式 title=简洁模式启用，您在访问他人博客时会使用简洁款皮肤展示>
 
 </a>
 <div id=user_info class="navbar-user-info dropdown" style=display:none>
 
 
 </div>
 <a class=navbar-anonymous href=https://account.cnblogs.com/signup style=display:inline>注册</a>
 <a class=navbar-anonymous style=display:inline>登录</a>
 </li>
 </ul>
 </nav>
 </div>
 
 
<div id=header>
 
<div class=header>
 <div class=headerText>
 <a id=Header1_HeaderTitle class="headermaintitle HeaderMainTitle" href=https://www.cnblogs.com/allay/>06</a>
<br>
 Just 4 record.
 </div>
</div>
</div>
<div id=mylinks>
<a id=blog_nav_sitehome class=menu href=https://www.cnblogs.com/>
博客园</a>
&nbsp;&nbsp;&nbsp;
<a id=blog_nav_myhome class=menu href=https://www.cnblogs.com/allay/>
首页</a>
&nbsp;&nbsp;&nbsp;
<a id=blog_nav_newpost class=menu href="https://i.cnblogs.com/EditPosts.aspx?opt=1">
新随笔</a>
&nbsp;&nbsp;&nbsp;
<a id=blog_nav_contact class=menu href=https://msg.cnblogs.com/send/06>
联系</a>&nbsp;&nbsp;&nbsp;
<a id=blog_nav_rss class=menu data-rss=https://www.cnblogs.com/allay/rss/>
订阅</a>
<a id=blog_nav_rss_image href=https://www.cnblogs.com/allay/rss/>
 <img src="" alt=订阅>
</a>&nbsp;&nbsp;&nbsp;
<a id=blog_nav_admin class=menu href=https://i.cnblogs.com/>
管理</a>
</div>
<div id=mytopmenu>
 
 <div class=blogStats>随笔 - 40&nbsp;
文章 - 1&nbsp;评论 - 1&nbsp;阅读 - 
<span title="总阅读数: 6134">
6134</span>
</div>
 
</div>
<div id=leftcontent>
 
 <div id=leftcontentcontainer>
 <div id=blog-calendar>
<table id=blogCalendar class=Cal cellspacing=0 cellpadding=0 title=Calendar border=0>
 <tbody>
 <tr>
 <td colspan=7>
 <table class=CalTitle cellspacing=0 border=0>
 <tbody>
 <tr>
 <td class=CalNextPrev>
 <a>&lt;</a>
 </td>
 <td align=center>2023年7月</td>
 <td align=right class=CalNextPrev>
 <a>&gt;</a>
 </td>
 </tr>
 </tbody>
 </table>
 </td>
 </tr>
 <tr>
 <th class=CalDayHeader align=center abbr=日 scope=col>日</th>
 <th class=CalDayHeader align=center abbr=一 scope=col>一</th>
 <th class=CalDayHeader align=center abbr=二 scope=col>二</th>
 <th class=CalDayHeader align=center abbr=三 scope=col>三</th>
 <th class=CalDayHeader align=center abbr=四 scope=col>四</th>
 <th class=CalDayHeader align=center abbr=五 scope=col>五</th>
 <th class=CalDayHeader align=center abbr=六 scope=col>六</th>
 </tr>
 <tr>
 <td class=CalOtherMonthDay align=center>25</td>
 <td class=CalOtherMonthDay align=center>26</td>
 <td class=CalOtherMonthDay align=center>27</td>
 <td class=CalOtherMonthDay align=center>28</td>
 <td class=CalOtherMonthDay align=center>29</td>
 <td class=CalOtherMonthDay align=center>30</td>
 <td class=CalWeekendDay align=center>
 1
 </td>
 </tr>
 <tr>
 <td class=CalTodayDay align=center>
 2
 </td>
 <td align=center>
 3
 </td>
 <td align=center>
 4
 </td>
 <td align=center>
 5
 </td>
 <td align=center>
 6
 </td>
 <td align=center>
 7
 </td>
 <td class=CalWeekendDay align=center>
 8
 </td>
 </tr>
 <tr>
 <td class=CalWeekendDay align=center>
 9
 </td>
 <td align=center>
 10
 </td>
 <td align=center>
 11
 </td>
 <td align=center>
 12
 </td>
 <td align=center>
 13
 </td>
 <td align=center>
 14
 </td>
 <td class=CalWeekendDay align=center>
 15
 </td>
 </tr>
 <tr>
 <td class=CalWeekendDay align=center>
 16
 </td>
 <td align=center>
 17
 </td>
 <td align=center>
 18
 </td>
 <td align=center>
 19
 </td>
 <td align=center>
 20
 </td>
 <td align=center>
 21
 </td>
 <td class=CalWeekendDay align=center>
 22
 </td>
 </tr>
 <tr>
 <td class=CalWeekendDay align=center>
 23
 </td>
 <td align=center>
 24
 </td>
 <td align=center>
 25
 </td>
 <td align=center>
 26
 </td>
 <td align=center>
 27
 </td>
 <td align=center>
 28
 </td>
 <td class=CalWeekendDay align=center>
 29
 </td>
 </tr>
 <tr>
 <td class=CalWeekendDay align=center>
 30
 </td>
 <td align=center>
 31
 </td>
 <td class=CalOtherMonthDay align=center>
 1
 </td>
 <td class=CalOtherMonthDay align=center>
 2
 </td>
 <td class=CalOtherMonthDay align=center>
 3
 </td>
 <td class=CalOtherMonthDay align=center>
 4
 </td>
 <td class=CalOtherMonthDay align=center>
 5
 </td>
 </tr>
 </tbody>
</table></div><br>
 <div id=sidebar_news class=newsItem>
 
<div class=newsItem>
 <div id=blog-news> 
 <div id=sidebar_news_content>
<div id=profile_block>
 昵称：
 <a href=https://home.cnblogs.com/u/allay/>
 06
 </a>
 <br>
 园龄：
 <a href=https://home.cnblogs.com/u/allay/ title=入园时间：2017-08-14>
 5年10个月
 </a>
 <br>
 粉丝：
 <a class=follower-count href=https://home.cnblogs.com/u/allay/followers/>
 0
 </a>
 <br>
 关注：
 <a class=folowing-count href=https://home.cnblogs.com/u/allay/followees/>
 0
 </a>
 <div id=p_b_follow class=follow-tip>
<a>+加关注</a></div>
 
</div>
</div>
</div>
</div>
 
</div>
<div id=sidebar_c3 class=sf-hidden></div>
 <div id=blog-sidecolumn>
<div id=sidebar_search class=sidebar-block>
 <div id=sidebar_search class=mySearch>
 <h3 class=catListTitle>搜索</h3>
 <div id=sidebar_search_box>
 <div id=widget_my_zzk class=div_my_zzk>
 <input type=text id=q class=input_my_zzk value>&nbsp;<input type=button value=找找看 id=btnZzk class=btn_my_zzk>
 </div>
 <div id=widget_my_google class=div_my_zzk>
 <input type=text name=google_q id=google_q class=input_my_zzk value>&nbsp;<input type=button value=谷歌搜索 class=btn_my_zzk>
 </div>
 </div>
 </div>
</div>
<div id=sidebar_shortcut class=sidebar-block>
<h3 class=catListTitle>
常用链接
</h3>
<ul>
 <li><a href=https://www.cnblogs.com/allay/p/ title=我的博客的随笔列表>我的随笔</a></li>
<li><a href=https://www.cnblogs.com/allay/MyComments.html title=我的发表过的评论列表>我的评论</a></li>
<li><a href=https://www.cnblogs.com/allay/OtherPosts.html title=我评论过的随笔列表>我的参与</a></li>
<li><a href=https://www.cnblogs.com/allay/comments title=我的博客的评论列表>最新评论</a></li>
<li><a href=https://www.cnblogs.com/allay/tag/ title=我的博客的标签列表>我的标签</a></li>
</ul>
</div>
<div id=sidebar_toptags class=sidebar-block><h3><a href=https://www.cnblogs.com/allay/tag/ class=sidebar-card-title-a>我的标签</a></h3>
<div id=MyTag>
 <ul>
 <li>
 <a href=https://www.cnblogs.com/allay/tag/%E5%B7%A5%E5%85%B7/>工具<span class=tag-count>(5)</span></a>
 </li>
 <li>
 <a href=https://www.cnblogs.com/allay/tag/%E6%89%B9%E5%A4%84%E7%90%86/>批处理<span class=tag-count>(4)</span></a>
 </li>
 <li>
 <a href=https://www.cnblogs.com/allay/tag/%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE/>环境配置<span class=tag-count>(4)</span></a>
 </li>
 <li>
 <a href=https://www.cnblogs.com/allay/tag/docker/>docker<span class=tag-count>(4)</span></a>
 </li>
 <li>
 <a href=https://www.cnblogs.com/allay/tag/https%E8%AF%81%E4%B9%A6/>https证书<span class=tag-count>(1)</span></a>
 </li>
 <li>
 <a href=https://www.cnblogs.com/allay/tag/ssl%E8%AF%81%E4%B9%A6/>ssl证书<span class=tag-count>(1)</span></a>
 </li>
 <li>
 <a href=https://www.cnblogs.com/allay/tag/certbot/>certbot<span class=tag-count>(1)</span></a>
 </li>
 <li>
 <a href=https://www.cnblogs.com/allay/tag/%E8%BF%90%E7%BB%B4/>运维<span class=tag-count>(1)</span></a>
 </li>
 <li>
 <a href=https://www.cnblogs.com/allay/tag/mysql/>mysql<span class=tag-count>(1)</span></a>
 </li>
 <li>
 <a href=https://www.cnblogs.com/allay/tag/jenkins/>jenkins<span class=tag-count>(1)</span></a>
 </li>
 <li>
 <a href=https://www.cnblogs.com/allay/tag/>更多</a>
 </li>
 </ul>
</div>
</div>
<div id=sidebar_categories>
 <h1 class=catListTitle>
 
 <a class=sidebar-card-title-a href=https://www.cnblogs.com/allay/post-categories>随笔分类</a>
 </h1>
 <ul class=catList>
 <li class=catListItem data-category-list-item-visible=true style=display:block>
 
<a href=https://www.cnblogs.com/allay/category/1065518.html style=--cnb-category-item-link-indent-size:calc(0*1em) class=category-item-link rel target>环境配置(4)</a>
 </li>
 <li class=catListItem data-category-list-item-visible=true style=display:block>
 
<a href=https://www.cnblogs.com/allay/category/1059822.html style=--cnb-category-item-link-indent-size:calc(0*1em) class=category-item-link rel target>敏捷开发(6)</a>
 </li>
 
 </ul>
 <h1 class=catListTitle>
 
随笔档案
 </h1>
 <ul class=catList>
 <li class=catListItem data-category-list-item-visible=true style=display:block>
 
<a href=https://www.cnblogs.com/allay/archive/2023/06.html style=--cnb-category-item-link-indent-size:calc(0*1em) class=category-item-link rel target>2023年6月(10)</a>
 </li>
 <li class=catListItem data-category-list-item-visible=true style=display:block>
 
<a href=https://www.cnblogs.com/allay/archive/2023/05.html style=--cnb-category-item-link-indent-size:calc(0*1em) class=category-item-link rel target>2023年5月(9)</a>
 </li>
 <li class=catListItem data-category-list-item-visible=true style=display:block>
 
<a href=https://www.cnblogs.com/allay/archive/2023/04.html style=--cnb-category-item-link-indent-size:calc(0*1em) class=category-item-link rel target>2023年4月(5)</a>
 </li>
 <li class=catListItem data-category-list-item-visible=true style=display:block>
 
<a href=https://www.cnblogs.com/allay/archive/2023/03.html style=--cnb-category-item-link-indent-size:calc(0*1em) class=category-item-link rel target>2023年3月(2)</a>
 </li>
 <li class=catListItem data-category-list-item-visible=true style=display:block>
 
<a href=https://www.cnblogs.com/allay/archive/2023/02.html style=--cnb-category-item-link-indent-size:calc(0*1em) class=category-item-link rel target>2023年2月(2)</a>
 </li>
 <li class=catListItem data-category-list-item-visible=true style=display:block>
 
<a href=https://www.cnblogs.com/allay/archive/2023/01.html style=--cnb-category-item-link-indent-size:calc(0*1em) class=category-item-link rel target>2023年1月(2)</a>
 </li>
 <li class=catListItem data-category-list-item-visible=true style=display:block>
 
<a href=https://www.cnblogs.com/allay/archive/2019/07.html style=--cnb-category-item-link-indent-size:calc(0*1em) class=category-item-link rel target>2019年7月(1)</a>
 </li>
 <li class=catListItem data-category-list-item-visible=true style=display:block>
 
<a href=https://www.cnblogs.com/allay/archive/2017/08.html style=--cnb-category-item-link-indent-size:calc(0*1em) class=category-item-link rel target>2017年8月(9)</a>
 </li>
 
 </ul>
</div>
<div id=sidebar_topviewedposts class=sidebar-block>
<div id=topview_posts_wrap>
 <h3 class=catListTitle>
 <a href=https://www.cnblogs.com/allay/most-viewed class=sidebar-card-title-a>
 阅读排行榜
</a>
 </h3>
 <div id=TopViewPostsBlock>
 <ul style=word-break:break-all>
 <li>
 <a href=https://www.cnblogs.com/allay/p/7374326.html>
 1. 古老的批处理病毒Bat.Worm.Muma源码(1559)
 </a>
 </li>
 <li>
 <a href=https://www.cnblogs.com/allay/p/7411974.html>
 2. 批处理之坑爹的感叹号和变量延迟扩展（转）(970)
 </a>
 </li>
 <li>
 <a href=https://www.cnblogs.com/allay/p/17295686.html>
 3. 解决docker存储空间overlay不足问题(612)
 </a>
 </li>
 <li>
 <a href=https://www.cnblogs.com/allay/p/7374374.html>
 4. 批处理病毒Bat.Worm.Muma的起始脚本(463)
 </a>
 </li>
 <li>
 <a href=https://www.cnblogs.com/allay/p/7374143.html>
 5. 经典批处理教程（转）(287)
 </a>
 </li>
 </ul>
 </div>
</div></div>
<div id=sidebar_topcommentedposts class=sidebar-block><div id=topfeedback_posts_wrap>
 <h3 class=catListTitle>
 <a href=https://www.cnblogs.com/allay/most-commented class=sidebar-card-title-a>评论排行榜</a>
 </h3>
 <div id=TopFeedbackPostsBlock>
 <ul style=word-break:break-all>
 <li>
 <a href=https://www.cnblogs.com/allay/p/7374326.html>
 1. 古老的批处理病毒Bat.Worm.Muma源码(1)
 </a>
 </li>
 </ul>
 </div>
</div></div>
<div id=sidebar_topdiggedposts class=sidebar-block></div><div id=sidebar_recentcomments class=sidebar-block><div id=recent_comments_wrap class=RecentComment>
 <h3 class=catListTitle><a href=https://www.cnblogs.com/allay/comments class=sidebar-card-title-a>最新评论</a></h3> 
 <div class=RecentCommentBlock>
 <ul>
 <li class=recent_comment_title><a href=https://www.cnblogs.com/allay/p/7374326.html>1. Re:古老的批处理病毒Bat.Worm.Muma源码</a></li>
 <li class=recent_comment_body><p>这是杀毒还是病毒？</p>
</li>
 <li class=recent_comment_author>--护城河</li>
 </ul>
 </div>
</div></div>
</div>
 </div> 
 
</div>
<div id=centercontent>
 
<div id=post_detail>
 <div class=post>
 <div class=postTitle>
 <h1>
<a id=cb_post_title_url class="postTitle2 vertical-middle" href=https://www.cnblogs.com/allay/p/17375111.html>
 <span role=heading aria-level=2>Jenkins 执行Docker build错误Got permission denied while trying to connect to the Docker daemon socket...</span>
 
</a>
</h1>
 </div>
 <div id=cnblogs_post_body class="blogpost-body blogpost-body-html">
<p>问题：</p>
<p><img src="" alt loading=lazy class=medium-zoom-image></p>
<p>&nbsp;</p>
<p>解决方法：</p>
<p>这个报错为权限问题</p>
<p>1.把jenkins用户，加到docker用户组</p>
<div>&nbsp;
<div class=cnblogs_code><div class=cnblogs_code_toolbar><span class=cnblogs_code_copy><a title=复制代码><img src='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><rect fill-opacity="0"/></svg>' alt=复制代码 style="background-blend-mode:normal!important;background-clip:content-box!important;background-position:50% 50%!important;background-color:rgb(245,245,245)!important;background-image:var(--sf-img-15)!important;background-size:100% 100%!important;background-origin:content-box!important;background-repeat:no-repeat!important"></a></span></div>
<pre><span style=color:rgba(0,0,0,1)>#如果没有docker用户组，先创建用户组：
groupadd docker

#添加jenkins用户到用户组：
</span><span style=color:rgba(0,0,255,1)>sudo</span> usermod -a -<span style=color:rgba(0,0,0,1)>G docker jenkins

</span>-a&lt;追加&gt; 必须与-<span style=color:rgba(0,0,0,1)>G选项一起使用，把用户追加到某些组中。
</span>-G&lt;群组&gt; 修改用户所属的附加群组。<br>（或vim /etc/group 中添加对应值）</pre>
<p>&nbsp; #更新用户组</p>
<p>&nbsp; newgrp docker</p>
<p>&nbsp; #查看当前docker用户组都有谁</p>
<p>&nbsp; cat /etc/group | grep docker</p>
<p>&nbsp; （或groups jenkins）</p>
<p><br><br></p>
<p>&nbsp;</p>
<div class=cnblogs_code_toolbar><span class=cnblogs_code_copy><a title=复制代码><img src='data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><rect fill-opacity="0"/></svg>' alt=复制代码 style="background-blend-mode:normal!important;background-clip:content-box!important;background-position:50% 50%!important;background-color:rgb(245,245,245)!important;background-image:var(--sf-img-15)!important;background-size:100% 100%!important;background-origin:content-box!important;background-repeat:no-repeat!important"></a></span></div></div>
<p>&nbsp;</p>
</div>
<div class=_2Uzcx_>&nbsp;2.修改/var/run/docker.sock文件的权限</div>
<div class=_2Uzcx_>
<div class=cnblogs_code>
<pre>cd /var/<span style=color:rgba(0,0,0,1)>run
</span><span style=color:rgba(0,0,255,1)>chmod</span> <span style=color:rgba(128,0,128,1)>777</span> docker.sock<br><br>#用jenkins用户,在jenkins执行目录中，测试是否报错（jenkins目录查看日志）<br>su - jenkins<br>docker build -t ***</pre>
</div>
<p>&nbsp;</p>
<p>3.重启jenkins 更新环境变量</p>
<div class=cnblogs_code>
<pre>systemctl restart jenkins</pre>
</div>
<p>重新执行任务，问题解决</p>
<p>&nbsp;</p>
<p>参考文档：</p>
<p>https://www.jianshu.com/p/a29bd263a274</p>
<p>https://www.cnblogs.com/kongzhongqijing/articles/16813661.html</p>
</div>
</div>
<div class=clear></div>
<div id=blog_post_info_block role=contentinfo>
 <div id=blog_post_info>
<div id=green_channel>
 <a id=green_channel_digg>好文要顶</a>
 <a id=green_channel_follow>关注我</a>
 <a id=green_channel_favorite>收藏该文</a>
 <a id=green_channel_weibo title=分享至新浪微博><img src= alt></a>
 <a id=green_channel_wechat title=分享至微信><img src= alt></a>
</div>
<div id=author_profile>
 <div id=author_profile_info class=author_profile_info>
 <a href=https://home.cnblogs.com/u/allay/ target=_blank><img src="" class=author_avatar alt></a>
 <div id=author_profile_detail class=author_profile_info>
 <a href=https://home.cnblogs.com/u/allay/>06</a>
 <br>
 <a href=https://home.cnblogs.com/u/allay/followers/>粉丝 - <span class=follower-count>0</span></a>
 <a href=https://home.cnblogs.com/u/allay/followees/>关注 - <span class=following-count>0</span></a><br>
 </div>
 </div>
 <div class=clear></div>
 <div id=author_profile_honor></div>
 <div id=author_profile_follow class=follow-tip>
 <a>+加关注</a>
 </div>
</div>
<div id=div_digg>
 <div class=diggit>
 <span class=diggnum id=digg_count>0</span>
 </div>
 <div class=buryit>
 <span class=burynum id=bury_count>0</span>
 </div>
 <div class=clear></div>
 <div class=diggword id=digg_tips>
 </div>
</div>
</div>
 <div class=clear></div>
 <div id=post_next_prev>
 <a href=https://www.cnblogs.com/allay/p/17371538.html class=p_n_p_prefix>« </a> 上一篇： <a href=https://www.cnblogs.com/allay/p/17371538.html data-featured-image title="发布于 2023-05-04 15:59">jenkins 查看凭证密码以及重置admin密码的操作方法</a>
 <br>
 <a href=https://www.cnblogs.com/allay/p/17378387.html class=p_n_p_prefix>» </a> 下一篇： <a href=https://www.cnblogs.com/allay/p/17378387.html data-featured-image title="发布于 2023-05-06 20:16">查看linux主机硬件配置：cpu /内存/显卡/磁盘</a>
</div>
</div>
 <div class=postDesc>posted on 
<span id=post-date data-last-update-days=57.85055194862731 data-date-created=BlogServer.Application.Dto.BlogPost.BlogPostDto data-date-updated="2023-05-05 18:55" aria-expanded=false>2023-05-05 18:51</span>&nbsp;
<a href=https://www.cnblogs.com/allay/>06</a>&nbsp;
阅读(<span id=post_view_count>15</span>)&nbsp;
评论(<span id=post_comment_count>0</span>)&nbsp;
<a href="https://i.cnblogs.com/EditPosts.aspx?postid=17375111" rel=nofollow>编辑</a>&nbsp;
<a>收藏</a>&nbsp;
<a>举报</a>
</div>
 </div>
</div>
<a id=!comments></a>
<div id=blog-comments-placeholder class=sf-hidden></div>
<div id=comment_form class=commentform>
 <a name=commentform></a>
 <div id=divCommentShow></div>
 <div id=comment_nav><span id=span_refresh_tips></span><a id=lnk_RefreshComments runat=server clientidmode=Static>刷新评论</a><a href=#>刷新页面</a><a href=#top>返回顶部</a></div>
 <div id=comment_form_container style=visibility:visible><div class=login_tips>
 登录后才能查看或发表评论，立即 <a rel=nofollow class=underline>登录</a> 或者
 <a href=https://www.cnblogs.com/>逛逛</a> 博客园首页
</div>
</div>
 <div class=ad_text_commentbox id=ad_text_under_commentbox></div>
 <div id=cnblogs_ch><a href=https://www.cnblogs.com/cmt/p/17516235.html target=_blank>【推荐】行行AI人才直播第5期：系列课-AI理解及ChatGPT从基础到高级应用</a><br><a href=https://click.aliyun.com/m/1000374664/ target=_blank>【推荐】超值开启 AIGC 之旅，最长100小时，按量1折起！即开即享受</a><br><a href=https://click.aliyun.com/m/1000374205/ target=_blank>【推荐】阿里云持续降低用云成本，让算力更普惠：云服务器全面降价</a><br></div>
 <div id=opt_under_post></div>
 <div id=cnblogs_c1 class=under-post-card>
 <div id=div-gpt-ad-1592365906576-0 style=width:300px;height:250px data-google-query-id=COSLsYC-7_8CFVG7lgodZ4kJ9A><div id=google_ads_iframe_/1090369/C1_0__container__ style="border:0pt none"><iframe id=google_ads_iframe_/1090369/C1_0 name=google_ads_iframe_/1090369/C1_0 title="3rd party ad content" width=300 height=250 scrolling=no marginwidth=0 marginheight=0 frameborder=0 role=region aria-label=Advertisement tabindex=0 style=border:0px;vertical-align:bottom data-google-container-id=1 data-load-complete=true sandbox="allow-popups allow-top-navigation allow-top-navigation-by-user-activation" srcdoc="<!DOCTYPE html> <html><meta charset=utf-8><style>a{color:#000000}</style><meta http-equiv=origin-trial content=&quot;A/6hmwx8DpHud613fSYYa2C2T61iC513V4BYG/pBH4zs5sGsUc9RgaPKhfk3JhHF30N/9/NntWzEq28kkrMxpgQAAABweyJvcmlnaW4iOiJodHRwczovL2FkLmRvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiUGVuZGluZ0JlYWNvbkFQSSIsImV4cGlyeSI6MTY3ODIzMzU5OSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ==&quot;><style>.sf-hidden{display:none!important}</style><meta http-equiv=content-security-policy content=&quot;default-src 'none'; font-src 'self' data:; img-src 'self' data:; style-src 'unsafe-inline'; media-src 'self' data:; script-src 'unsafe-inline' data:;&quot;><style>img[src=&quot;data:,&quot;],source[src=&quot;data:,&quot;]{display:none!important}</style><body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 style=background:transparent;line-height:0 class=jar><div id=google_image_div style=overflow:hidden;position:absolute class=GoogleActiveViewElement data-google-av-cxn=&quot;https://pagead2.googlesyndication.com/pcs/activeview?xai=AKAOjsuyptM6jWPinFzElAge8_rPe832CC_HQ-Eo0Q7Ki18zv-dI9Muve8n82Znjt8DrAxJ6Q0u5oFSR8zSRhTFvJEUo6zEgQREB22N0Q00NxgkXhnoUqIZv&amp;amp;sig=Cg0ArKJSzG8jSi4EcyufEAE&quot; data-google-av-adk=2350102003 data-google-av-metadata=&quot;la=0&amp;amp;xdi=0&amp;amp;&quot; data-google-av-ufs-integrator-metadata=EtQBCs0BaHR0cHM6Ly9wYWdlYWQyLmdvb2dsZXN5bmRpY2F0aW9uLmNvbS9wY3MvYWN0aXZldmlldz94YWk9QUtBT2pzdXlwdE02aldQaW5GekVsQWdlOF9yUGU4MzJDQ19IUS1FbzBRN0tpMTh6di1kSTlNdXZlOG44MlpuanQ4RHJBeEo2UTB1NW9GU1I4elNSaFRGdkpFVW82ekVnUVJFQjIyTjBRMDBOeGdrWGhub1VxSVp2JnNpZz1DZzBBcktKU3pHOGpTaTRFY3l1ZkVBRRIAGgA data-google-av-override=-1 data-google-av-dm=2 data-google-av-aid=0 data-google-av-naid=1 data-google-av-slift data-google-av-cpmav data-google-av-btr=&quot;https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjstFgGbIpi9SJWfPU0IxisjdNxOrfnYSyrNBmNcy20zB55KWaEPZVlTelgBpR12CGkLiBXFM5szt99ZINx108awdFAcLSC0EwWKiksWgSHNJ8EPL95AwnltakPyU8gLng_UDShkcUJuMSoETNxm9RKRjKOTcJDnUrNcEonDE-1j7PsLnKvMF1_DcjAM6XAdw26aNK27vRQGeDiK6jwkNUl6RUO8tkpILGfsiyrXcrI2m1Q9NaznxbpK3NR5C0GcAwu8iLmMpywdNIhvKN4PNNxYQgdrTjm6hOjVULEjI5SelMjrhhFBBFRV1NT2DvxiM&amp;amp;sai=AMfl-YQuKl-QpusjBWA3jlRKedYJql6M8BFkPpyHH0gfdE__Ml5WPF_7RBOkWbv0_5cwYRafy0xXiqaT0WA26_uWyJY2os6HsxUFlE42aSMXV8TUrL4oKsiXeRbe0vXeXkE&amp;amp;sig=Cg0ArKJSzCt73aVDM4pbEAE&amp;amp;uach_m=[UACH]&amp;amp;adurl=&quot; data-google-av-itpl=3 data-google-av-rs=4 data-google-av-flags=&quot;[&amp;quot;x%278440'9efotm(&amp;amp;753374%2bejvf/%27844>'9wuvb$&amp;amp;56533>!=|vqc)!273794&amp;amp;<qqvb/%<1735020!=nehu`/!364=5051!9abk{a($160210:3&amp;amp;<cbotf+*0150034:%2bejvf/%72;17613!=efdwa*'76463;21$?ebkpb$&amp;amp;0366717>*>bgipf+!3=712363%9aihwc)!7202<217'9efotm(&amp;amp;20061;48&amp;amp;>`dopb/%<1707200!=8(&amp;amp;2005575?&amp;amp;>`dopb/%<170642?!=|vqc)!7201;=50'9wuvb$&amp;amp;03641654*>bgipf+!3=731103%9aihwc)!7200?073'9efotm(&amp;amp;2004?51;&amp;amp;>`dopb/%<17>474>!=nehu`/!36406412!9abk{a($167745;=&amp;amp;<cbotf+*01254133%2bejvf/%72<43412!=efdwa*'76326>71$?3~&amp;quot;]&quot; data-creative-load-listener><a id=aw0 target=_blank href=&quot;https://googleads.g.doubleclick.net/pcs/click?xai=AKAOjsvLBWATp4xf25jJIVeh-G2QA5UqCDyW48PsbnNwj2LlP1Z_mbUKs9jUqJJ3qDX4_EmFURsLzUc0mESDEkPgrh3OLecQQG22qHHmxdQSD00CKQq1zIWzZdKzLFqOe3TVit7LKjIZolXPVyEeY2aaw5GXLSadwiz8v2jjz-b8P80aq13wHH16BkheSwueSvU4I1oJa1vy72E0l3E0ZdOZVNlMf0hDNVOuQzx3G9b-m4Ni-wdfvzAFgbhXdegYLOyE4eSFC6d0uya1ruYSa1RYA_0iRHYxA0K3PnohHMF4xKLQvvYkizCpHGTb3g&amp;amp;sai=AMfl-YQPuGjUvCTjj0fjLc3N95OZr8ilZ402gd5JfMyqjFB5_skkJ_6m40NxmWYGaSCIB9Vwbesf-4RpHbChS8w_zijnaiORr526Cz11Gn79Tme7ZkKpMkq867CDgSX6mkY&amp;amp;sig=Cg0ArKJSzAy_eYNldnLQ&amp;amp;fbs_aeid=[gw_fbsaeid]&amp;amp;adurl=https://www.cnblogs.com/cmt/p/17516235.html&amp;amp;nm=1&quot;><img src=&quot;&quot; border=0 width=300 height=250 alt class=img_ad></a><style class=sf-hidden>div{margin:0;padding:0}.jar .cbb{opacity:1}.cbb{cursor:pointer;height:15px;width:15px;z-index:2147483646;background-color:#ffffff}.cbb svg{position:absolute;top:0;right:0;height:15px;width:15px;stroke:#00aecd;fill:#00aecd;stroke-width:1.25}.cbb:hover{cursor:pointer}.cbb:hover{background-color:#58585a}.cbb:hover svg{stroke:#ffffff}.cbb{position:absolute;right:1px;top:1px}</style><div id=abgc class=&quot;abgc sf-hidden&quot; dir=ltr></div><div id=cbb class=cbb tabindex=0 role=button><svg xmlns=http://www.w3.org/2000/svg xmlns:xlink=http://www.w3.org/1999/xlink viewBox=&quot;0 0 15 15&quot;><path d=M3.25,3.25l8.5,8.5M11.75,3.25l-8.5,8.5></path></svg></div><style class=sf-hidden>.mute_panel{z-index:2147483646}@keyframes mlskf{100%{transform:rotate(360deg)}}@keyframes mlsdkf{0%{stroke-dasharray:1,189;stroke-dashoffset:0}50%{stroke-dasharray:134,189;stroke-dashoffset:-53px}100%{stroke-dasharray:134,189;stroke-dashoffset:-188px}}</style><div id=mute_panel class=mute_panel aria-hidden=true><div id=abgac class=&quot;abgac sf-hidden&quot; aria-hidden=true></div></div></div><div style=&quot;bottom:0;right:0;width:300px;height:250px;background:initial!important;position:absolute!important;max-width:100%!important;max-height:100%!important;pointer-events:none!important;image-rendering:pixelated!important;z-index:2147483647;background-image:url()!important&quot;></div>"></iframe></div></div>
 </div>
 <div id=under_post_card1><div class=under-post-card>
<b>编辑推荐：</b>
<br>
· <a href=https://www.cnblogs.com/jevonsflash/p/17519792.html target=_blank>[MAUI]用纯 C# 代码写两个漂亮的时钟</a>
 <br>
· <a href=https://www.cnblogs.com/Z7TS/p/17494203.html target=_blank>「.NET源码解读」深入剖析中间件的设计与实现</a>
 <br>
· <a href=https://www.cnblogs.com/artech/p/17509624.html target=_blank>老生常谈：值类型 V.S. 引用类型</a>
 <br>
· <a href=https://www.cnblogs.com/huangxincheng/p/17505313.html target=_blank>Docker 中的 .NET 异常了怎么抓 Dump</a>
 <br>
· <a href=https://www.cnblogs.com/niexianda/p/17506382.html target=_blank>闲来无事-树莓派控制风扇启停</a>
 <br>
</div></div>
 <div id=under_post_card2><div class="itnews under-post-card">
 <b>阅读排行：</b>
 <br>
 · <a href=https://www.cnblogs.com/jevonsflash/p/17519792.html target=_blank>[MAUI]用纯C#代码写两个漂亮的时钟</a>
 <br>
 · <a href=https://www.cnblogs.com/Can-daydayup/p/17520183.html target=_blank>10个适合后端程序员的前端框架</a>
 <br>
 · <a href=https://www.cnblogs.com/myshare/p/17517448.html target=_blank>基于GPT搭建私有知识库聊天机器人（一）实现原理</a>
 <br>
 · <a href=https://www.cnblogs.com/Jcloud/p/17517093.html target=_blank>从零开始初识机器学习</a>
 <br>
 · <a href=https://www.cnblogs.com/daniel-hutao/p/17517613.html target=_blank>DevChat：将 GPT-4 无缝融入 VS Code，极致提升你的编程体验</a>
 <br>
</div></div>
 <div id=HistoryToday class=under-post-card></div>
 
</div>
 
<div class=footer>
 Copyright © 2023 06
<br><span id=poweredby>Powered by .NET 7.0 on Kubernetes</span>
 Powered by: <a href=http://www.cnblogs.com/ class=footerlink>博客园</a><br>
</div>
</div>
 
 
 
<iframe style=visibility:hidden;display:none></iframe>
<iframe name=google_ads_top_frame id=google_ads_top_frame style=display:none;position:fixed;left:-999px;top:-999px;width:0px;height:0px></iframe><iframe width=0 height=0 style=display:none></iframe>